import request from '@/utils/request.js'

//购物车列表
let cart_list = (params) => request.get('/cart/list', params);

//产品数量
let cart_num = (params) => request.get('/cart/count', params);
//修改产品数量
let product_num = (data) => request.post('/cart/num', data);

//购物车 删除
let cart_del = (data) => request.post('/cart/del', data);

export default {
	cart_list,
	cart_num,
	product_num,
	cart_del
}